<?php
$list = 
array("0"=>"0","16"=>"1","1705"=>"2","1801"=>"3","30"=>"4","21"=>"5","50002766"=>"6","50008165"=>"7","50006842"=>"8","1625"=>"9"
,"50008090"=>"10","27"=>"11","2128"=>"12","25"=>"13","26"=>"14","50010388"=>"15","50012029"=>"16","23"=>"17","50010788"=>"18","50008097"=>"19"
,"50012082"=>"20","50012100"=>"21","50008163"=>"22","50006843"=>"23","33"=>"24","2813"=>"25","35"=>"26","50010728"=>"27","50008168"=>"28","50010404"=>"29"
,"50007218"=>"30","11"=>"31","50002768"=>"32","50007216"=>"33","50008825"=>"34","50008164"=>"35","28"=>"36","50010387"=>"37","34"=>"38","3009"=>"39"
,"50003754"=>"40","50005998"=>"41","99"=>"42","50011665"=>"43","1512"=>"44","50012081"=>"45","50005700"=>"46","29"=>"47","50008907"=>"48","14"=>"49"
,"40"=>"50","2203"=>"51","1201"=>"52","20"=>"53","1410"=>"54","50012164"=>"55","1101"=>"56","50009060"=>"57","50004958"=>"58","50011397"=>"59"
,"50008075"=>"60","50011150"=>"61");

//print_r($_GET);

$category = $_GET['category'];
$key = urlencode($_GET['key']);
$category = $list[$category ];
$para = base64_encode("c=$category&k=$key&a=0&m=0");
//$url = '/search/'.$para;
//$url = 'http://taobaohot.co.cc/search/'.$para;
//http://taobaoph.free.futureweb.be/index.html
$url = 'http://taobaoph.free.futureweb.be/search/'.$para;
header("Location: $url");

?>
